/*
 * ThreadEngineSpin.h
 *
 *  Created on: Jan 27, 2013
 *      Author: Drew Prevost
 */

#ifndef THREADENGINESPIN_H_
#define THREADENGINESPIN_H_

#include "ThreadEngineBase.h"
#include "ThreadMicroDelay.h"

class ThreadEngineSpin: public ThreadEngineBase
{
public:
  ThreadEngineSpin(
                    ThreadServoRate & threadServoExhaust,
                    uint8_t nPinGlowPlug,
                    uint8_t nPinGenConnect,
                    uint8_t nPinStarterMotor,
                    uint8_t nPinGenDisonnect,
                    uint8_t nPinGenMonitor );
  virtual ~ThreadEngineSpin();

  virtual bool run();

protected:
  ThreadMicroDelay threadMicroDelay;

};

#endif /* THREADENGINESPIN_H_ */
